package com.gdit.zax.entitys;

import java.sql.Timestamp;

/**
 * 学习过的课程（学习树）
 * @author lenovo
 *
 */
public class CrouseTree {
	//视频信息
	private int t_video_id;//视频id
	private String t_video_name;//视频名称
	private String t_video_pic;//视频图片
	private int t_video_courseid;//课程id
	private int t_video_sectionid;//章节id
	private String t_video_url;//视频url
	private int t_video_anthorid;//作者id
	private int t_video_commentsum;
	private String t_video_introduction;//视频介绍
	private int t_video_seesum;
	private int t_video_downsum;
	private int t_video_knowledgeid;
	private int t_video_type;//视频类型
	
	//课程信息
	private int t_course_id;//课程id
	private String t_course_name;//课程名称
	private String t_course_introduction;//课程介绍
	private int t_course_anthorid;//课程作者id
	private int t_course_type;//课程类型
	
	//播放记录信息
	private int t_seerecord_id;//播放记录id
	
	private int _vcount1;//该课程的播放次数
	private int _vcount2;//该课程的视频总数量
	
	
	
	public int getT_course_id() {
		return t_course_id;
	}
	public void setT_course_id(int tCourseId) {
		t_course_id = tCourseId;
	}
	public String getT_course_name() {
		return t_course_name;
	}
	public void setT_course_name(String tCourseName) {
		t_course_name = tCourseName;
	}
	public String getT_course_introduction() {
		return t_course_introduction;
	}
	public void setT_course_introduction(String tCourseIntroduction) {
		t_course_introduction = tCourseIntroduction;
	}
	public int getT_course_anthorid() {
		return t_course_anthorid;
	}
	public void setT_course_anthorid(int tCourseAnthorid) {
		t_course_anthorid = tCourseAnthorid;
	}
	public int getT_course_type() {
		return t_course_type;
	}
	public void setT_course_type(int tCourseType) {
		t_course_type = tCourseType;
	}
	public int getT_video_id() {
		return t_video_id;
	}
	public void setT_video_id(int tVideoId) {
		t_video_id = tVideoId;
	}
	public String getT_video_name() {
		return t_video_name;
	}
	public void setT_video_name(String tVideoName) {
		t_video_name = tVideoName;
	}
	public String getT_video_pic() {
		return t_video_pic;
	}
	public void setT_video_pic(String tVideoPic) {
		t_video_pic = tVideoPic;
	}
	public int getT_video_courseid() {
		return t_video_courseid;
	}
	public void setT_video_courseid(int tVideoCourseid) {
		t_video_courseid = tVideoCourseid;
	}
	public int getT_video_sectionid() {
		return t_video_sectionid;
	}
	public void setT_video_sectionid(int tVideoSectionid) {
		t_video_sectionid = tVideoSectionid;
	}
	public String getT_video_url() {
		return t_video_url;
	}
	public void setT_video_url(String tVideoUrl) {
		t_video_url = tVideoUrl;
	}
	public int getT_video_anthorid() {
		return t_video_anthorid;
	}
	public void setT_video_anthorid(int tVideoAnthorid) {
		t_video_anthorid = tVideoAnthorid;
	}
	public int getT_video_commentsum() {
		return t_video_commentsum;
	}
	public void setT_video_commentsum(int tVideoCommentsum) {
		t_video_commentsum = tVideoCommentsum;
	}
	public String getT_video_introduction() {
		return t_video_introduction;
	}
	public void setT_video_introduction(String tVideoIntroduction) {
		t_video_introduction = tVideoIntroduction;
	}
	public int getT_video_seesum() {
		return t_video_seesum;
	}
	public void setT_video_seesum(int tVideoSeesum) {
		t_video_seesum = tVideoSeesum;
	}
	public int getT_video_downsum() {
		return t_video_downsum;
	}
	public void setT_video_downsum(int tVideoDownsum) {
		t_video_downsum = tVideoDownsum;
	}
	public int getT_video_knowledgeid() {
		return t_video_knowledgeid;
	}
	public void setT_video_knowledgeid(int tVideoKnowledgeid) {
		t_video_knowledgeid = tVideoKnowledgeid;
	}
	public int getT_video_type() {
		return t_video_type;
	}
	public void setT_video_type(int tVideoType) {
		t_video_type = tVideoType;
	}
	public int getT_seerecord_id() {
		return t_seerecord_id;
	}
	public void setT_seerecord_id(int tSeerecordId) {
		t_seerecord_id = tSeerecordId;
	}
	public int get_vcount1() {
		return _vcount1;
	}
	public void set_vcount1(int vcount1) {
		_vcount1 = vcount1;
	}
	public int get_vcount2() {
		return _vcount2;
	}
	public void set_vcount2(int vcount2) {
		_vcount2 = vcount2;
	}
	
	
	private Timestamp t_video_addtime;//视频加入时间
	private Timestamp t_seerecord_addtime;//播放记录加入时间
	private Timestamp t_course_addtime;//课程加入时间
	
	public String getT_course_addtime() {
		return t_course_addtime.toString().replace(".0", "");
	}
	public void setT_course_addtime(Timestamp tCourseAddtime) {
		t_course_addtime = tCourseAddtime;
	}
	public String getT_video_addtime() {
		return t_video_addtime.toString().replace(".0", "");
	}
	public void setT_video_addtime(Timestamp tVideoAddtime) {
		t_video_addtime = tVideoAddtime;
	}
	
	public String getT_seerecord_addtime() {
		return t_seerecord_addtime.toString().replace(".0", "");
	}
	public void setT_seerecord_addtime(Timestamp tVideoAddtime) {
		t_seerecord_addtime = tVideoAddtime;
	}
}
